package com.cl.crm.entity;

/**
 * OrderDetails entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class OrderDetails implements java.io.Serializable {

	// Fields

	private Integer odId;
	private OrderHistory orderHistory;
	private String odCommodities;
	private Integer odNum;
	private String odUnit;
	private Double odUnitPrice;
	private Double odPrice;

	// Constructors

	/** default constructor */
	public OrderDetails() {
	}

	/** full constructor */
	public OrderDetails(OrderHistory orderHistory, String odCommodities,
			Integer odNum, String odUnit, Double odUnitPrice, Double odPrice) {
		this.orderHistory = orderHistory;
		this.odCommodities = odCommodities;
		this.odNum = odNum;
		this.odUnit = odUnit;
		this.odUnitPrice = odUnitPrice;
		this.odPrice = odPrice;
	}

	// Property accessors

	public Integer getOdId() {
		return this.odId;
	}

	public void setOdId(Integer odId) {
		this.odId = odId;
	}

	public OrderHistory getOrderHistory() {
		return this.orderHistory;
	}

	public void setOrderHistory(OrderHistory orderHistory) {
		this.orderHistory = orderHistory;
	}

	public String getOdCommodities() {
		return this.odCommodities;
	}

	public void setOdCommodities(String odCommodities) {
		this.odCommodities = odCommodities;
	}

	public Integer getOdNum() {
		return this.odNum;
	}

	public void setOdNum(Integer odNum) {
		this.odNum = odNum;
	}

	public String getOdUnit() {
		return this.odUnit;
	}

	public void setOdUnit(String odUnit) {
		this.odUnit = odUnit;
	}

	public Double getOdUnitPrice() {
		return this.odUnitPrice;
	}

	public void setOdUnitPrice(Double odUnitPrice) {
		this.odUnitPrice = odUnitPrice;
	}

	public Double getOdPrice() {
		return this.odPrice;
	}

	public void setOdPrice(Double odPrice) {
		this.odPrice = odPrice;
	}

}